package com.kanshu.ksgb.fastread.doudou.module.personal.activity

import android.app.Activity
import android.content.Intent
import android.os.Bundle
import com.alibaba.android.arouter.facade.annotation.Route
import com.kanshu.ksgb.fastread.doudou.app.constants.ARouterConfig
import com.kanshu.ksgb.fastread.doudou.base.baseui.BaseActivity

@Route(path = ARouterConfig.PERSONAL_CHARGE_NO_AD)
class ChargeNoADActivity : BaseActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        showFragment(ChargeFragment.newInstance(ChargeFragment.TYPE_REMOVE_AD),"No AD")
        title = "免广告阅读"
    }

    companion object {
        @JvmStatic
    fun actionStart(activity: Activity){
            activity.startActivity(Intent(activity,ChargeNoADActivity::class.java))
        }
    }
}
